package config

type Config struct {
	Server     SERVER     `mapstructure:"SERVER" yaml:"server" json:"server"`
	Cors       CORS       `mapstructure:"CORS" yaml:"cors" json:"cors"`
	Timer      TIMER      `mapstructure:"TIMER" yaml:"timer" json:"timer"`
	DataBase   DATABASE   `mapstructure:"DATABASE" yaml:"database" json:"database"`
	Jwt        JWT        `mapstructure:"JWT" yaml:"jwt" json:"jwt"`
	GrpcServer GRPCSERVER `mapstructure:"GRPCSERVER" yaml:"grpcserver" json:"grpcserver"`
	GrpcClient GRPCCLIENT `mapstructure:"GRPCCLIENT" yaml:"grpcclient" json:"grpcclient"`
	Redis      REDIS      `mapstructure:"REDIS" yaml:"redis" json:"redis"`
	Upload     UPLOAD     `mapstructure:"UPLOAD" yaml:"upload" json:"upload"`
	Wechat     WECHAT     `mapstructure:"WECHAT" yaml:"wechat" json:"wechat"`
	Wss        WSS        `mapstructure:"WSS" yaml:"wss" json:"wss"`
	Mongodb    MONGODB    `mapstructure:"MONGODB" yaml:"mongodb" json:"mongodb"`
}
